
<div style="padding:10px">
    <span class="titletext">Registrazione</span>
</div>
<div class="bodytext" style="padding:12px;" align="justify">
    <form action="#" method="POST">
        <table>
            <tr>
                <td>Nome: </td>
                <td><input type="text" value="<?php if (isset($_POST['name'])) {
    echo $_POST['name'];
} ?>" name="name"/></td>
            </tr>
            <tr>
                <td>Cognome: </td>
                <td><input type="text" value="<?php if (isset($_POST['surname'])) {
    echo $_POST['surname'];
} ?>" name="surname"/></td>
            </tr>
            <tr>
                <td>Email: </td>
                <td><input type="text" value="<?php if (isset($_POST['reg_email'])) {
    echo $_POST['reg_email'];
} ?>" name="reg_email"/></td>
            </tr>
            <tr>
                <td>Password: </td>
                <td><input type="password" name="password"/></td>
            </tr>
            <tr>
                <td>Ripeti password: </td>
                <td><input type="password" name="rpassword"/></td>

            </tr>
            <tr>
                <td></td>
                <td><input type="submit" id="containerright_submit" value="Iscriviti" name="reg_submit"/></td>
            </tr>
            <tr>
                <td colspan="2"><span id="reg_checkbox"><input type="checkbox" class="checkbox" <?php if (isset($_POST['rule'])) {
    echo 'checked="yes"';
} ?>name="rule"><A id="reg_text" style="color:black" HREF="javascript:popUp('php/pages/rule.page.php')">Accetto i termini e le condizioni</A></input></span></td>
            </tr>

        </table>
    </form>
</div>
</div>	